package ae.pcfc.etks.online.itworx.ehs.web.manager.impl;

import ae.pcfc.etks.online.itworx.ehs.web.dao.ServiceDAO;
import ae.pcfc.etks.online.itworx.ehs.web.entity.Service;
import ae.pcfc.etks.online.itworx.ehs.web.manager.ServiceManager;

public class ServiceManagerImpl extends BaseManagerImpl implements ServiceManager {

	private ServiceDAO serviceDAO;

	public ServiceDAO getServiceDAO() {
		return serviceDAO;
	}

	public void setServiceDAO(ServiceDAO serviceDAO) {
		this.serviceDAO = serviceDAO;
	}
	
	public Service getService() {
		return serviceDAO.getService();
	}

	@Override
	public void createService(Service service) {
		serviceDAO.saveObject(service);
		
	}

}
